<!DOCTYPE html>
<html>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta id="viewport" content="width=320; initial-scale=1.0; maximun-scale=1.0; user-scalable=0;" name="viewport" />
<title>Prototipo WUI Optimitive</title>
<link href="UI/optimitive.css" rel="stylesheet" type="text/css" />
</head>

<body>

<?
session_start();

echo 'Bienvenido, ';

if (isset($_SESSION['logged'])) {
	echo '<b>'.$_SESSION['username'].'</b>.';
	echo '<p><a href="logout.php">Logout</a></p>';
} else {
	echo '<p><a href="login.php">Login</a></p>';
	echo '<p><a href="register.php">Registrar</a></p>';
}

?>
</body>
</html>